/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

/**
 *
 * @author Messi
 */
public class LoaiSanPhamPOJO {
    private int maLoaiSanPham;
    private String tenLoaiSanPham;
    private int maDanhMuc;
    private String hinhAnh;
      
//    khoi viet cai dong nay ...
//    mún vi^ết th`i th^em z^o cá n`ay
    public LoaiSanPhamPOJO() //ko có tham số truyền vào
    {
            maLoaiSanPham = -1;
            tenLoaiSanPham = "";
            maDanhMuc = -1;
            hinhAnh = "";
    }
    
    public LoaiSanPhamPOJO(int maLoaiSanPham,String tenLoaiSanPham,int maDanhMuc,String hinhAnh) // nhìu tham số truyền vào
    {
        this.maLoaiSanPham = maLoaiSanPham;
        this.tenLoaiSanPham = tenLoaiSanPham;
        this.maDanhMuc = maDanhMuc;
        this.hinhAnh = hinhAnh;
    }
    public LoaiSanPhamPOJO(LoaiSanPhamPOJO lsp) // 1 tham số truyền vào
    {
        this.maLoaiSanPham = lsp.maLoaiSanPham;
        this.tenLoaiSanPham = lsp.tenLoaiSanPham;
        this.maDanhMuc = lsp.maDanhMuc;
        this.hinhAnh = lsp.hinhAnh;
    }

    public String getHinhAnh() {
        return hinhAnh;
    }

    public void setHinhAnh(String hinhAnh) {
        this.hinhAnh = hinhAnh;
    }

    public int getMaDanhMuc() {
        return maDanhMuc;
    }

    public void setMaDanhMuc(int maDanhMuc) {
        this.maDanhMuc = maDanhMuc;
    }

    public int getMaLoaiSanPham() {
        return maLoaiSanPham;
    }

    public void setMaLoaiSanPham(int maLoaiSanPham) {
        this.maLoaiSanPham = maLoaiSanPham;
    }

    public String getTenLoaiSanPham() {
        return tenLoaiSanPham;
    }

    public void setTenLoaiSanPham(String tenLoaiSanPham) {
        this.tenLoaiSanPham = tenLoaiSanPham;
    }
    
}
